
class WEAPON: public ITEM
{
private:
	int damage;
public:
	WEAPON()
	{
		damage = 0;
	}
	void CreateWeapon(char* newname, int newdamage, int newprice)
	{
		SetName(newname);
		SetPrice(newprice);
		SetDamage(newdamage);
	}
	int GetDamage()
	{
		return damage;
	}

	void SetDamage(int amount)
	{
		damage = amount;
	}
};